package com.huaxindata.im.model.entity;

public class HxAnnoModel {

    public long bulletinId;
    public String title;
    public String description;
    public String creater;
    public long createDate;
    public String recv;
    public int read;//是否已读，默认为0表示已读，1表示未读

    public HxAnnoModel() {
    }

    public HxAnnoModel(long bulletinId, String title, String description, String creater, long createDate) {
        this.bulletinId = bulletinId;
        this.title = title;
        this.description = description;
        this.creater = creater;
        this.createDate = createDate;
    }
    @Override
    public String toString() {
        return read + "-" + bulletinId + "-" + title + "-" + description + "-" + creater + "-" + createDate;
    }



    public String toString(int i) {
        return "HxAnnoModel{" +
                "bulletinId=" + bulletinId +
                ", title='" + title + '\'' +
                ", description='" + description + '\'' +
                ", creater='" + creater + '\'' +
                ", createDate=" + createDate +
                ", recv='" + recv + '\'' +
                ", read=" + read +
                '}';
    }
}
